package com.xh.bussiness.system.dao;

import com.xh.bussiness.system.model.CourseSystem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xh.bussiness.system.model.Dictionary;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 课程体系 Mapper 接口
 * </p>
 *
 * @author Pitt
 * @since 2020-11-18
 */
public interface CourseSystemMapper extends BaseMapper<CourseSystem> {

    void deleteByParam(@Param("subjectId") String subjectId, @Param("typeCode") String typeCode, @Param("typeValue") String typeValue);

    List<Dictionary> queryDictionaryByCourseSystem(@Param("subjectCode") String subjectCode,@Param("typeCode") String typeCode);

    List<Dictionary> queryLikeDictionaryByCourseSystem(@Param("subjectCode") String subjectCode,@Param("name") String name,@Param("typeCode") String typeCode);
}
